package com.yj.suncity.user.bean;

import org.json.JSONObject;

public class EntBean
{
  private String createtime = "";
  private String ent_address = "";
  private String ent_code = "";
  private String ent_contact = "";
  private String ent_contact_tel = "";
  private String ent_jianjie = "";
  private String ent_license = "";
  private String ent_logo = "";
  private String ent_subname = "";
  private String ent_weblink = "";
  private JSONObject entinfo;
  private String entname = "";
  private String id = "";
  private String img = "";
  private String is_auth = "";
  private String legal_idcard = "";
  private String legal_person = "";
  private String msg;
  private String remark = "";
  private String success;
  private String tradeid = "";
  private String tradename = "";

  public EntBean(JSONObject paramJSONObject)
  {
    this.success = paramJSONObject.optString("success");
    this.msg = paramJSONObject.optString("msg");
    this.entinfo = paramJSONObject.optJSONObject("entinfo");
    if (this.entinfo != null)
    {
      this.id = this.entinfo.optString("id");
      this.entname = this.entinfo.optString("entname");
      this.tradeid = this.entinfo.optString("tradeid");
      this.tradename = this.entinfo.optString("tradename");
      this.legal_person = this.entinfo.optString("legal_person");
      this.legal_idcard = this.entinfo.optString("legal_idcard");
      this.ent_contact = this.entinfo.optString("ent_contact");
      this.ent_contact_tel = this.entinfo.optString("ent_contact_tel");
      this.ent_license = this.entinfo.optString("ent_license");
      this.ent_code = this.entinfo.optString("ent_code");
      this.ent_logo = this.entinfo.optString("ent_logo");
      this.ent_address = this.entinfo.optString("ent_address");
      this.is_auth = this.entinfo.optString("is_auth");
      this.ent_jianjie = this.entinfo.optString("ent_jianjie");
      this.ent_subname = this.entinfo.optString("ent_subname");
      this.ent_weblink = this.entinfo.optString("ent_weblink");
      this.createtime = this.entinfo.optString("createtime");
      this.remark = this.entinfo.optString("remark");
      this.img = this.entinfo.optString("img");
    }
  }

  public String getCreatetime()
  {
    return this.createtime;
  }

  public String getEnt_address()
  {
    return this.ent_address;
  }

  public String getEnt_code()
  {
    return this.ent_code;
  }

  public String getEnt_contact()
  {
    return this.ent_contact;
  }

  public String getEnt_contact_tel()
  {
    return this.ent_contact_tel;
  }

  public String getEnt_jianjie()
  {
    return this.ent_jianjie;
  }

  public String getEnt_license()
  {
    return this.ent_license;
  }

  public String getEnt_logo()
  {
    return this.ent_logo;
  }

  public String getEnt_subname()
  {
    return this.ent_subname;
  }

  public String getEnt_weblink()
  {
    return this.ent_weblink;
  }

  public JSONObject getEntinfo()
  {
    return this.entinfo;
  }

  public String getEntname()
  {
    return this.entname;
  }

  public String getId()
  {
    return this.id;
  }

  public String getImg()
  {
    return this.img;
  }

  public String getIs_auth()
  {
    return this.is_auth;
  }

  public String getLegal_idcard()
  {
    return this.legal_idcard;
  }

  public String getLegal_person()
  {
    return this.legal_person;
  }

  public String getMsg()
  {
    return this.msg;
  }

  public String getRemark()
  {
    return this.remark;
  }

  public String getSuccess()
  {
    return this.success;
  }

  public String getTradeid()
  {
    return this.tradeid;
  }

  public String getTradename()
  {
    return this.tradename;
  }
}